package com.symria.server.po;

import java.sql.Timestamp;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * UserForgetPass entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "USER_FORGET_PASS")
public class UserForgetPass implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer uid;
	private String userName;
	private String realName;
	private String email;
	private Date createTime;
	private String state;
	private String ssid;

	// Constructors

	/** default constructor */
	public UserForgetPass() {
	}

	/** full constructor */
	public UserForgetPass(Integer uid, String userName, String realName,
			String email, Timestamp createTime, String ssid) {
		this.uid = uid;
		this.userName = userName;
		this.realName = realName;
		this.email = email;
		this.createTime = createTime;
		this.ssid = ssid;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "ID", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "UID")
	public Integer getUid() {
		return this.uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}
	
	@Column(name = "STATE", length = 1)
	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	@Column(name = "USER_NAME", length = 15)
	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	@Column(name = "REAL_NAME", length = 30)
	public String getRealName() {
		return this.realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	@Column(name = "EMAIL", length = 80)
	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Column(name = "CREATE_TIME", length = 0)
	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Column(name = "SSID", length = 32)
	public String getSsid() {
		return this.ssid;
	}

	public void setSsid(String ssid) {
		this.ssid = ssid;
	}

}